/*
 * mhcommentable.h
 *
 *  Created on: 2010-7-14
 *      Author: angelstone
 */

#pragma once

#include "hiberlite.h"

namespace mediahouse {
	class CMHCommentContainer {
		friend class hiberlite::access;

		template<class Archive>
		void hibernate(Archive & ar) {
			ar & HIBERLITE_NVP(m_Comments);
		}

	private:
		wxArrayString m_Comments;

	public:
		CMHCommentContainer() {

		}

		virtual ~CMHCommentContainer() {

		}

		virtual void AddComment(const wxString & comment);
		virtual void RemoveComment(const wxString & comment);
		virtual int HasComment(const wxString & comment);
		virtual void ClearComments();
		virtual int GetAllComments(wxArrayString & comments);
	};
}
